<!-- Navigation -->
<nav class="navbar navbar-default navbar-static-top" role="navigation">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">
                <img src="{{ asset('images/bf93558f.logo.png') }}" style="max-width:100px; margin-top: -15px"></a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <li {{ Request::is( '/') ? 'class=active' : '' }}>
                    <a href="/" title="Home">Home</a>
                </li>
                <li {{ Request::is( 'product-finder*') ? 'class=active dropdown' : 'dropdown' }}>
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
                        Product Finder
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu" role="menu">
                        @foreach(\App\Category::all() as $category)
                        <li>
                            <a href="/product-finder/{{$category->slug}}">{{$category->title}}</a>
                        </li>
                        @endforeach
                    </ul>
                </li>
                <li {{ Request::is( 'fragrance-club') ? 'class=active' : '' }}>
                    <a href="/fragrance-club" title="Help with SFragrance Club">Fragrance Club</a>
                </li>
                <li {{ Request::is( 'about') ? 'class=active' : '' }}>
                    <a href="/about" title="About Us">About Us</a>
                </li>
                <li {{ Request::is( 'contact') ? 'class=active' : '' }}>
                    <a href="/contact" title="Contact Us">Contact Us</a>
                </li>
                <li {{ Request::is( 'faq*') ? 'class=active' : '' }}>
                    <a href="/faq" title="FAQ">FAQ</a>
                </li>
                <li>
                    <a class="search-link" title="Search"></a>
                </li>
                <li>
                    @if(Auth::check())
                        <a href="/auth/logout">{{ Auth::user()->username }}</a>
                        @else
                        <a href="/auth/login">Sign In</a>
                        @endif
                </li>
            </ul>
        </div>
        <!-- /.navbar-collapse -->
    </div>
    <!-- /.container -->
</nav>